package org.itworks.biodev.gui.panels;

import java.util.*;

import org.itworks.biodev.model.*;
import org.itworks.helpers.*;

public class CustomersPanelModel extends Observable 
{
	
	private Vector<Customer> customers;
	public void setCustomers(Vector<Customer> customers) 
	{
		this.setChanged();
		this.customers=customers;
		//Ajout dans la base
		this.notifyObservers(new MVCNotification(CustomersPanelView.FILL_CUSTOMERS_TABLE, customers));
		this.clearChanged();
	}
	
	
	public Vector<Customer> getCustomers() {
		return customers;
	}


}
